﻿namespace ctolua.Models.Type
{
    public static class TGlobalEventType
    {
        /// <summary>
        ///
        /// </summary>
        public static Dictionary<string, string> EventKeyValues = new Dictionary<string, string>() {
            {"选择单位事件","ET_SELECT_UNIT" },
            {"UI事件","ET_TRIGGER_COMPONENT_EVENT" },
        };

        public static string GAME_INIT = "ET_GAME_INIT";
        public static string GAME_PAUSE = "ET_GAME_PAUSE";
        public static string GAME_RESUME = "ET_GAME_RESUME";
        public static string GAME_ELAPSE_ONCE = "ET_TIMEOUT";
        public static string GAME_ELAPSE_REPEAT = "ET_REPEAT_TIMEOUT";
        public static string GAME_ELAPSE_ONCE_BY_FRAME = "ET_TIMEOUT_BY_FRAME";
        public static string GAME_ELAPSE_REPEAT_BY_FRAME = "ET_REPEAT_TIMEOUT_BY_FRAME";
        public static string BUILD_SUCCESS = "ET_ABILITY_BUILD_FINISH";
        public static string START_SKILL_POINTER = "ET_START_SKILL_POINTER";
        public static string STOP_SKILL_POINTER = "ET_STOP_SKILL_POINTER";
        public static string CUSTOM_EVENT = "ET_EVENT_CUSTOM";

        /// <summary>
        /// UI事件
        /// </summary>
        public static string UI_EVENT = "ET_TRIGGER_COMPONENT_EVENT";

        public static string UNIT_ATTR_CHANGE = "ET_UNIT_ATTR_CHANGE";
        public static string UNIT_START_NAVI = "ET_UNIT_START_NAV_EVENT";
        public static string UNIT_END_NAVI = "ET_UNIT_END_NAV_EVENT";
        public static string ITEM_BROKEN = "ET_ITEM_BROKEN";
        public static string ITEM_SOLD = "ET_ITEM_SOLD";
        public static string 区域进入 = "ET_AREA_ENTER";
        public static string 区域离开 = "ET_AREA_LEAVE";
        public static string UNIT_PRECONDITION_MEET = "ET_UNIT_PRECONDITION_SUCCEED";
        public static string UNIT_PRECONDITION_FAILED = "ET_UNIT_PRECONDITION_FAILED";
        public static string ITEM_PRECONDITION_MEET = "ET_ITEM_PRECONDITION_SUCCEED";
        public static string ITEM_PRECONDITION_FAILED = "ET_ITEM_PRECONDITION_FAILED";
        public static string ABILITY_PRECONDITION_MEET = "ET_ABILITY_PRECONDITION_SUCCEED";
        public static string ABILITY_PRECONDITION_FAILED = "ET_ABILITY_PRECONDITION_FAILED";
        public static string TECH_PRECONDITION_MEET = "ET_TECH_PRECONDITION_SUCCEED";
        public static string TECH_PRECONDITION_FAILED = "ET_TECH_PRECONDITION_FAILED";
        public static string 按键按下 = "ET_KEYBOARD_KEY_DOWN_EVENT";
        public static string KEYBOARD_UP = "ET_KEYBOARD_KEY_UP_EVENT";
        public static string MOUSE_DOWN = "ET_MOUSE_KEY_DOWN_EVENT";
        public static string MOUSE_UP = "ET_MOUSE_KEY_UP_EVENT";
        public static string MOUSE_D_CLICK = "MOUSE_KEY_DB_CLICK_EVENT";
        public static string MOUSE_MOVE = "MOUSE_MOVE_EVENT";
        public static string MOUSE_WHEEL = "ET_MOUSE_WHEEL_EVENT";
        public static string MOUSE_DOWN_UNIT = "MOUSE_KEY_DOWN_UNIT_EVENT";
        public static string MOUSE_UP_UNIT = "MOUSE_KEY_UP_UNIT_EVENT";
        public static string MOUSE_D_CLICK_UNIT = "MOUSE_KEY_DB_CLICK_UNIT_EVENT";

        /// <summary>
        /// 选择单位事件
        /// </summary>
        public static string 选择单位 = "ET_SELECT_UNIT";

        public static string 选择单位组 = "ET_SELECT_UNIT_GROUP";
        public static string SELECT_ITEM = "ET_SELECT_ITEM";
        public static string D_CLICK_ITEM = "ET_DOUBLE_CLICK_ITEM";
        public static string SELECT_DEST = "ET_SELECT_DEST";
        public static string D_CLICK_DEST = "ET_DOUBLE_CLICK_DEST";
        public static string 玩家加入 = "ET_ROLE_JOIN_BATTLE";
        public static string 玩家退出 = "ET_ROLE_ACTIVE_EXIT_GAME_EVENT";
        public static string PLAYER_LOSE_CONNECT = "ET_ROLE_LOSE_CONNECT";
        public static string PLAYER_RESOURCE_CHANGED = "ET_ROLE_RESOURCE_CHANGED";
        public static string PLAYER_SEND_STRING = "ET_ROLE_INPUT_MSG";
        public static string PLAYER_SEND_ANY = "ET_CHAT_SEND_GM";
        public static string PLAYER_UPGRADE_TECH = "ET_ROLE_TECH_UPGRADE";
        public static string PLAYER_DOWNGRADE_TECH = "ET_ROLE_TECH_DOWNGRADE";
        public static string PLAYER_CHANGE_TECH = "ET_ROLE_TECH_CHANGED";
    }
}